
<!--La carga de select está condicionada por los metodos javascript-->
<fieldset class='box tabular'>
  <legend><%=l(:conditioning_custom_field_new)%></legend>
  <p>
    <label for="cfd_conditioning_custom_field_id">
      <%=l(:conditioning_custom_field)%>
      <span class="required">*</span>
    </label>
    <%= select 'cfd', 'conditioning_custom_field_id', options_from_collection_for_select(@cfs_lists, "id", "name"), { :include_blank => l(:conditioning_custom_field_select_one) }, :required => true, :onchange => 'update_conditioned_value();' %>
  </p>
  <p>
    <label for="cfd_conditioning_value">
      <%=l(:conditioning_value)%>
      <span class="required">*</span>
    </label>
    <%= select 'cfd', 'conditioning_value', [], { :include_blank => l(:conditioning_value_select_one) }, :required => true, :disabled => true %>
  </p>
  <p>
    <p>
    <label for="cfd_conditioned_custom_field_id">
      <%=l(:conditioned_custom_field)%>
      <span class="required">*</span>
    </label>
    <%= select 'cfd', 'conditioned_custom_field_id', options_from_collection_for_select(@cfs_all, "id", "name"), { :include_blank => l(:conditioned_custom_field_select_one) }, :required => true %>
  </p>
</fieldset>